﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;

namespace DIST.LR.ZHJG.Pgybc.WCF.EntityClass
{
	/// <summary>
	/// T_CFG_KPIORIGIN:实体类,指标来源配置表
	/// </summary>
    [DataContract]
	public class TKPIORIGIN
	{
        /// <summary>
        /// 
        /// </summary>
        [DataMember(IsRequired = true)]
		public virtual int ID
		{
            get;
            set;
		}
		/// <summary>
		/// 指标来源系统名
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual string NAME
		{
            get;
            set;
		}
		/// <summary>
		/// 数据库连接信息
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual string CONSTRING
		{
            get;
            set;
		}
		/// <summary>
		/// 计算SQL
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual string COMPUTESQL
		{
            get;
            set;
		}
		/// <summary>
		/// 指标值
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual double VALUE
		{
            get;
            set;
		}
		/// <summary>
		/// 获取方式；0实时执行SQL模型获取；1获取定期更新的VALUE存储值。
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual int GETTYPE
		{
            get;
            set;
		}
		/// <summary>
		/// 指标更新时间
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual DateTime? UPDATETIME
		{
            get;
            set;
		}
		/// <summary>
		/// 更新周期
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual string UPDATECYCLE
		{
            get;
            set;
		}

	}
}

